package com.auxgroup.hr.front.commons.utils;

import okhttp3.logging.HttpLoggingInterceptor;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/** 
 * @author lvliuhao 
 * @version 创建时间：2017年12月12日 上午11:05:16 
 * Retrofit日志输出类
 */
public class RetrofitHttpLogger implements HttpLoggingInterceptor.Logger {
	private static final Logger logger = LoggerFactory.getLogger(RetrofitHttpLogger.class);

	 @Override
     public void log(String message) {
     	logger.debug("Retrofit request and response log："+message);
     }
}
 